From fdebd69904e3b225dde1182de2fe9938344abbf2 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Tue, 1 Jul 2025 10:10:23 -0700
Subject: add not-found page

---
 middleware/src/app/[gameName]/page.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'middleware/src/app/[gameName]/page.tsx')

diff --git a/middleware/src/app/[gameName]/page.tsx b/middleware/src/app/[gameName]/page.tsx
index 76d883b..d4e7b51 100644
--- a/middleware/src/app/[gameName]/page.tsx
+++ b/middleware/src/app/[gameName]/page.tsx
@@ -89,7 +89,7 @@ export default async function GamePage({
   }
 
   const redirectUrl =
-    postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : null;
+    postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : mainNewsUrl;
 
   return (
     <main className="main">
-- 
cgit v1.2.3

